package it.univaq.f4i.iw.ex.album.model;

import java.util.List;

/**
 *
 * @author IngegneriaDelWeb
 */
public interface Album {
    /**
     * @return the photos
     */
    List<Photo> getPhotos();

    /**
     * @return the key (which is read only)
     */
    int getKey();

    /**
     * @return the owner
     */
    User getOwnerUser();

    /**
     * @return the title
     */
    String getTitle();

    /**
     * @return the public
     */
    boolean isPublic();

    /**
     * @param owner the owner to set
     */
    void setOwnerUser(User owner);

    /**
     * @param isPublic the public to set
     */
    void setPublic(boolean isPublic);

    /**
     * @param title the title to set
     */
    void setTitle(String title);

}
